package com.yigo.prc.api.spu;

import com.yigo.framework.http.Q;
import com.yigo.framework.http.R;
import com.yigo.prc.api.spu.command.CreateSpuCmd;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @author chenzl
 */
public interface PrcSpuFeign {

    @PostMapping("prc/spu/createSpu")
    R createSpu(@RequestBody @Valid Q<CreateSpuCmd> q);
}
